package com.ruoyi.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author tanglin
 * @since 2023-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_info")
public class UserInfoEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("主键")

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * openId
	 */
	@TableField("openid")
	private String openid;

	/**
	 * 用户名
	 */
	@TableField("nickName")
	private String nickName;

	/**
	 * 性别
	 */
	@TableField("gender")
	private String gender;

	/**
	 * 年龄
	 */
	@TableField("age")
	private Integer age;

	/**
	 * 愿望
	 */
	@TableField("wish")
	private String wish;

	/**
	 * 图片
	 */
	@TableField("wishimage")
	private String wishimage;

	@TableField("creatTime")
	private LocalDateTime creatTime;

	/**
	 * 点赞数
	 */
	@TableField("thumbsUpNumber")
	private Integer thumbsUpNumber;

	/**
	 * 微信分享数
	 */
	@TableField("wxShareNumber")
	private Integer wxShareNumber;

	/**
	 * 朋友圈分享数
	 */
	@TableField("pyqShareNumber")
	private Integer pyqShareNumber;

	/**
	 * 回复数
	 */
	@TableField("replyNumber")
	private Integer replyNumber;


}
